﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Framework.SqlSugarCore.Abstractions
{
	/// <summary>
	/// 数据库上下文接口提供者
	/// </summary>
	/// <typeparam name="TDbContext"></typeparam>
	public interface ISugarDbContextProvider<TDbContext>
		where TDbContext : ISqlSugarDbContext
	{
		Task<TDbContext> GetDbContextAsync();
	}
}
